<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
     <div>
       男<input type="checkbox" value="男"  name="" id="">
       女<input type="checkbox" value="女"  name="" id="">
     </div>

     <div>
       <select>
         <option>请选择</option>
         <option>HTML</option>
         <option>CSS</option>
         <option>JS</option>
       </select>
     </div>
     <div>
      <button @click="dopost">表单提交</button>
    </div>
  </div>
  <script src="/vue.js"></script>
  <script>
    const app = new Vue({
      el:"#app",
      data :{
        sex:'男',
        selected:'请选择'

      },
      methods:{
        dopost(){
          console.log(this.$data)
      }
      }
    })
  </script>
</body>
</html>